<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>凤凰基金</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>skin/css/pf/link.css"/>
<script type="text/javascript" src="<%=basePath%>skin/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>skin/js/pf/script.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#navs > div.nav").children("a").eq(0).addClass("click");
});
</script>
</head>

<body>
<c:import url="/layouts/top.jsp" />
<div id="pc-banner">
	<div class="left"></div>
	<div class="right"></div>
	<c:forEach items="${indexImages }" var="lunboImage">
		<c:if test="${lunboImage.type == 1 && not empty lunboImage.source}">
			<c:choose>
	       	<c:when test="${fn:containsIgnoreCase(lunboImage.url, 'http://') }">
	       		<a class="a" href="${lunboImage.url}" style="background:url(<%=basePath%>download.shtml?filepath=${lunboImage.source}) center no-repeat;">
	       	</c:when>
	       	<c:otherwise>
	       		<a class="a" href="<%=basePath%>${lunboImage.url}" style="background:url(<%=basePath%>download.shtml?filepath=${lunboImage.source}) center no-repeat;">
	       	</c:otherwise>
	       	</c:choose>
	       	<img src="<%=basePath%>download.shtml?filepath=${lunboImage.source}"/></a>
	    </c:if>
	</c:forEach>
	<ul>
		<li></li>
	</ul> 
	<!--登陆注册-->
	<div class="log-in">
		<div class="cont">
			<p class="txt1">专业、专注 、专家</p>
			<p class="wire"></p>
			<p class="txt2"><span style="color: #f39923;">安全无忧，</span>全方位身份验证,资金同卡进出，多重报纸</p>
			<a href="" class="login">安全登陆</a>
			<a href="" class="register">快速注册</a>
		</div>
	</div>
</div>
<ul id="projects">
	<li>
		<div class="left">
			<p class="title">FOF基金</p>
			<p class="txt">构建多策略私募<br />基金投资组合</p>
			<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=3&tagId=1">了解详情</a>
		</div>
		<img class="right" src="<%=basePath%>skin/images/pf/projects_1.jpg"/>
	</li>
	<li>
		<div class="left">
			<p class="title">家族投资计划</p>
			<p class="txt">致力于服务超高<br />净值家族客户<br />的精英团队</p>
			<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=4&tagId=1">了解详情</a>
		</div>
		<img class="right" src="<%=basePath%>skin/images/pf/projects_2.jpg"/>
	</li>
	<li>
		<div class="left">
			<p class="title">阳光私募</p>
			<p class="txt">多策略资产配置<br />有效分散风险</p>
			<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=6&tagId=1">了解详情</a>
		</div>
		<img class="right" src="<%=basePath%>skin/images/pf/projects_3.jpg"/>
	</li>
	<div id="clear"></div><!--清除浮动-->
</ul>
<div id="storey">
	<div class="storey">
		<!--公募基金-->
		<div class="list public">
			 <div class="conet">
			 	<div class="left">
			 		<p class="title">公募基金</p>
			 		<p class="wire"></p>
			 		<p class="ico"></p>
			 		<p class="txt">凤凰独特的投资者服务模式<br />符合用户需求的投资组合</p>
			 		<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=1&tagId=1" class="more">查看更多</a>
			 	</div>
			 	<ul class="right plc">
					<c:forEach items="${gmjjList }" var="product">
						<li>
							<c:if test="${not empty product.source}">
								<img class="img" src="<%=basePath%>download.shtml?filepath=${product.source}" title="${product.name}"/>		  			
				  			</c:if>
							<div class="bot">
								<p class="title">${product.name}</p>
								<p class="earnings">
									<span class="txt">月收益率</span>
				 					 <!--涨幅颜色用  红色  rise 绿色  fall-->
				 					<span class="exp rise">${product.ysy}</span>
				 				</p>
				 				<a href="<%=basePath%>shop/product/detail.shtml?productId=${product.id}" class="more">一键跟投</a>
							</div>
						</li>
					</c:forEach>
			 	</ul>
			 	<div id="clear"></div><!--清除浮动-->
			 </div>
		</div>
		<!--私募基金-->
		<div class="list private">
			 <div class="conet">
			 	<div class="left">
			 		<p class="title">私募基金</p>
			 		<p class="wire"></p>
			 		<p class="ico"></p>
			 		<p class="txt">优越顶级私募<br />配置高端理财</p>
			 		<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=2&tagId=1" class="more">查看更多</a>
			 	</div>
			 	<ul class="right plc">
			 		<c:forEach items="${smjjList }" var="product">
						<li>
							<c:if test="${not empty product.source}">
								<img class="img" src="<%=basePath%>download.shtml?filepath=${product.source}" title="${product.name}"/>		  			
				  			</c:if>
							<div class="bot">
								<p class="title">${product.name}</p>
								<p class="earnings">
									<p class="txts">${product.introduction}</p>
				 				</p>
							</div>
						</li>
					</c:forEach>
			 	</ul>
			 	<div id="clear"></div><!--清除浮动-->
			 </div>
		</div>
		<!--精选产品-->
		<div class="list sift">
			 <div class="conet">
			 	<div class="left">
			 		<p class="title">精选产品</p>
			 		<p class="wire"></p>
			 		<p class="ico"></p>
			 		<p class="txt">优越顶级私募<br />配置高端理财</p>
			 		<a href="<%=basePath%>/shop/product/list.shtml?productTypeId=5&tagId=1" class="more">查看更多</a>
			 	</div>
			 	<ul class="right sif">
			 		<p class="top">
			 			<span class="name">基金名称</span>
			 			<span class="time">发行时间</span>
			 			<span class="day">日涨幅</span>
			 			<span class="month">月收益</span>
			 			<span class="total">发行以来收益</span>
			 			<span class="operation">操作</span>
			 		</p>
			 		<c:forEach items="${jxcpList }" var="product">
				 		<li>
				 			<span class="name">${product.name}</span>
				 			<span class="time">${product.fxrq}</span>
				 			<span class="day rise">${product.rzf}</span>
				 			<span class="month fall">${product.ysy}</span>
				 			<span class="total fall">${product.fxylsy}</span>
				 			<a href="" class="operation">立即购买</a>
				 		</li>
			 		</c:forEach>
			 	</ul>
			 	<div id="clear"></div><!--清除浮动-->
			 </div>
		</div>
		<!--新闻-关于-->
		<div class="news-about">
			<div class="news">
				<div class="top">
					<p class="title">新闻聚焦</p>
					<a href="<%=basePath%>shop/news/list.shtml">更多>></a>
				</div>
				<ul class="bot">
					<c:forEach items="${allNews }" var="news">
						<li>
							<c:if test="${not empty news.source}">
								<img class="img" src="<%=basePath%>download.shtml?filepath=${news.source}" title="${news.title}"/>		  			
				  			</c:if>
							<a href="<%=basePath%>shop/news/detail.shtml?newsId=${news.id}" class="title">${news.title}</a>
							<p class="time"><fmt:formatDate value="${news.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></p>
							<p class="txt">${news.introduction}</p>
						</li>
					</c:forEach>
				</ul>
			</div>
			<div class="abtou">
				<div class="top">
					<p class="title">关于凤凰</p>
					<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=1">更多>></a>
				</div>
				<div class="bot">
					<img src="<%=basePath%>skin/images/pf/about_1.jpg"/>
					<p class="txt">凤凰基金是中国证监会批准的首批独立基金销售机构，公司注册资本30000万元。母公司“东方财富”是A股首家上市的财经网络门户，拥有较高的品牌知名度。公司总资产逾43亿元，流动资金逾41亿元，实力雄厚我</p>
				</div>
			</div>
			<div id="clear"></div><!--清除浮动-->
		</div>
	</div>
</div>
<div id="cooperations">
	<div class="top">
		<p class="title">合作伙伴</p>
	</div>
	<div class="logos">
		<c:forEach items="${indexImages }" var="hzhbImage">
			<c:if test="${hzhbImage.type == 2 && not empty hzhbImage.source}">
				<c:choose>
		       	<c:when test="${fn:containsIgnoreCase(hzhbImage.url, 'http://') }">
		       		<a href="${hzhbImage.url}" target="_blank">
		       	</c:when>
		       	<c:otherwise>
		       		<a href="<%=basePath%>${hzhbImage.url}" target="_blank">
		       	</c:otherwise>
		       	</c:choose>
		       	<img src="<%=basePath%>download.shtml?filepath=${hzhbImage.source}"/></a>
		    </c:if>
		</c:forEach>
		<div id="clear"></div><!--清除浮动-->
	</div>
</div>
<c:import url="/layouts/foot.jsp" />
</body>
</html>
